function obj1(name) { this.name = name }
obj1.prototype.name = 'zs'
obj1.prototype.getName = function() {
    return this.name
}
var name = 'ww'
var obj = new obj1('zl')
var obj2 = { name: 'ls' }
console.log(obj.getName.call(obj2));